//2.12
import java.util.Scanner;
public class RunwayLengthCalculator {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.print("Enter speed and acceleration: ");
        double speed = scanner.nextDouble();
        double acceleration = scanner.nextDouble();
        double runwayLength = Math.pow(speed, 2) / (2 * acceleration);
        System.out.printf("The minimum runway length for this airplane is %.3f%n", runwayLength);
    }
}
